<?php
$arry = include ("./arry.php");
if($_POST!=null){
    $ss = array();
    $ss['name']= $_POST['name'];
    $ss['neirong']= $_POST['neirong'];
    if($ss['name']!=null&&$ss['neirong']!=null){
        array_push($arry,$ss);
        $str=var_export($arry,TRUE);
        $nr=<<<nr
<?php
return {$str} ?>
nr;
        file_put_contents('./arry.php', $nr);
    }
}

include ("./template/index.html");
